import tableServiceAbstract from "@/core/table/tableService.interface";
import { $notRoleAdminList } from "@/api/role/role";
export default class roleUserChooseUserService implements tableServiceAbstract {
  getTable(params: any): Promise<any> {
    let mParams: { [key: string]: any } = {};
    mParams.page = params.current;
    mParams.limit = params.pageSize;
    mParams.not_in_role_id = params.not_in_role_id;
    mParams.work_userid = params.work_userid;
    mParams.name = params.name;
    mParams.phone = params.phone;
    return $notRoleAdminList(mParams);
  }
  delete(params: any): Promise<any> {
    return Promise.resolve(true);
  }
  add(params: any): Promise<any> {
    return Promise.resolve(true);
  }
  edit(params: any): Promise<any> {
    return Promise.resolve(true);
  }
  detail(params: any): Promise<any> {
    return Promise.resolve(true);
  }
}
